import Vue from 'vue'
import {focusObj,lightHeight} from './public.js'
import {
  NavBar,
  Form,
  Field,
  Button,
  Tabbar, 
  TabbarItem,
  Icon,
  Tab, 
  Tabs ,
  Cell,
  List ,
  PullRefresh ,
  Loading ,
  Lazyload,
  ActionSheet ,
  Popup ,
  Row,
  Col,
  Badge,
  Search,
  Image as VanImage,
  divider,
  CellGroup,
  Tag,
  Dialog,
  DatetimePicker,
  Empty 
} from 'vant';
Vue.use(Lazyload,{
  preload:0.8,
  lazyComponent: true,
  error:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.zhimg.com%2Fv2-c1abdf0c1a579e5c67a4732923b112a7_1440w.jpg%3Fsource%3D172ae18b&refer=http%3A%2F%2Fpic1.zhimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1664357210&t=891160334b1f4df5636dd64d1c0cbc7c'
});
Vue.use(Empty);
Vue.use(lightHeight);
Vue.use(DatetimePicker);
Vue.use(Dialog);
Vue.use(Tag);
Vue.use(CellGroup);
Vue.use(divider);
Vue.use(VanImage);
Vue.use(Search);
Vue.use(Row);
Vue.use(Col);
Vue.use(Badge);
Vue.use(Popup);
Vue.use(ActionSheet);
Vue.use(Loading);
Vue.use(PullRefresh);
Vue.use(NavBar);
Vue.use(List);
Vue.use(Cell);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Icon);
Vue.use(focusObj);



